<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/img/logo.png" />
    <HelloWorld msg="Welcome to Your Vue.js App" />
  </div>
</template>

<script>
import HelloWorld from '@/components/HelloWorld.vue';

export default {
  name: 'Home',
  components: {
    HelloWorld
  },
  data() {
    return {
      son: {
        name: '孙悟空',
        age: 23,
        desc: '  <--ijoi j io ->>  '
      }
    };
  },
  mounted() {
    console.log(obj(this.son));
    console.log(U.obj(this.son));
    console.log(U.trim(this.son));
    console.log(U.trim(this.son.desc));
  }
};
</script>
